package com.kingmed.kmss.admin.modules.ums.model;

import com.baomidou.mybatisplus.annotation.*;
import com.kingmed.kmss.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 后台用户和角色关系表
 * </p>
 *
 * 
 * 
 */
@Data
@TableName("ums_admin_role_relation")
@ApiModel(value = "UmsAdminRoleRelation对象", description = "后台用户和角色关系表")
public class UmsAdminRoleRelation extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long adminId;

    private Long roleId;

    @ApiModelProperty("删除标记")
    @TableField
    @TableLogic(value = "0", delval = "1")
    private Integer deleteFlag;

}
